package com.x.reader.model;

import com.x.framework.Base;
import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseModel;
import com.x.reader.util.Constant;

@MappingTable(tableName = "READER_VIDEO")
public class Video extends BaseModel {
    @MappingColumn(columnName = "video_id", columnLength = 32, columnPk = true)
    private String videoId;

    @MappingColumn(columnName = "video_title")
    private String videoTitle;

    @MappingColumn(columnName = "video_author")
    private String videoAuthor;

    @MappingColumn(columnName = "video_cover")
    private String videoCover;

    @MappingColumn(columnName = "video_source")
    private String videoSource;

    @MappingColumn(columnName = "video_create_time")
    private String videoCreateTime;

    @MappingColumn(columnName = "category_id")
    private Integer categoryId;

    public String getVideoId() {
        return videoId;
    }

    public void setVideoId(String videoId) {
        this.videoId = videoId;
    }

    public String getVideoTitle() {
        return videoTitle;
    }

    public void setVideoTitle(String videoTitle) {
        this.videoTitle = videoTitle;
    }

    public String getVideoAuthor() {
        return videoAuthor;
    }

    public void setVideoAuthor(String videoAuthor) {
        this.videoAuthor = videoAuthor;
    }

    public String getVideoCover() {
        return videoCover;
    }

    public void setVideoCover(String videoCover) {
        this.videoCover = videoCover;
    }

    public String getVideoSource() {
        return videoSource;
    }

    public void setVideoSource(String videoSource) {
        this.videoSource = videoSource;
    }

    public String getVideoCreateTime() {
        return videoCreateTime;
    }

    public void setVideoCreateTime(String videoCreateTime) {
        this.videoCreateTime = videoCreateTime;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }
}
